/* 缩小表单 */

body .demo-class .layui-layer-title {
    background: #c00;
    color: #fff;
    border: none;
}

body .demo-class .layui-layer-btn {
    border-top: 1px solid #E9E7E7
}

body .demo-class .layui-layer-btn a {
    background: #333;
}

body .demo-class .layui-layer-btn .layui-layer-btn1 {
    background: #999;
}

/*.layui-layer-btn.layui-layer-btn {*/
    /*background-color: #009f95;*/
/*}*/

.form-sm {
    font-size: smaller;
}

.form-sm .layui-form-label {
    width: 0;
}

.form-sm .layui-form-item {
    margin-bottom: 0;
}

.form-sm .layui-form-label {
    min-width: 90px;
    max-width: 110px;
    height: 30px;
    padding: 8px 0px;
    line-height: 12px;
}

.form-sm .layui-input-inline {
    width: 160px;
}

.form-sm .layui-input {
    height: 30px;
    line-height: 10px;
}

.form-sm .layui-form-mid {
    padding: 0 !important;
    line-height: 30px;
}

.layui-table-cell .layui-form-checkbox[lay-skin=primary] {
    top: 0;
}

.layui-table-view .layui-form-checkbox {
    top: 0;
}

.grid-btn {
    float: left;
    margin-top: 10px;
}

.grid-btn .layui-btn + .layui-btn {
    margin-left: 0;
}

/* 自定义滚动条样式  */
::-webkit-scrollbar {
    width: 2px;
    height: 6px;
    background-color: #F5F5F5;
}

/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    /* border-radius: 10px; */
    background-color: #F5F5F5;
}

/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
    /* border-radius: 3px; */
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #555;
}

::-webkit-scrollbar-thumb:hover {
    border-radius: 2px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: rgba(7, 170, 247, 1);
}